/****************************************************************
 * <strong>MFJsonlView</strong>
 *
 * <p>
 * MFJsonlView
 * </p>
 *
 * @author AndyZhang 2013
 * @version 0.1
 * ToDo:2013-3-3
 ***************************************************************/
package com.thinkwide.data.mvc.view;

import com.thinkwide.data.mvc.core.IMFView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public class MFPrintView implements IMFView {
    private String url;
    private Object obj;
    private List<?> list;

    public MFPrintView(String text) {
        this.url = text;
    }

    public String getContentType() {

        return null;
    }

    public void render(Map<String, Object> map, HttpServletRequest request,
                       HttpServletResponse response) throws Throwable {

        response.getWriter().println(url);


    }

}
